package com.ruoyi.project.lely.bean.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Desc: 分页入参
 * @Author LuoYong
 * @Date 2022/1/12 16:05
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "学生分页DTO")
public class PageStudentDTO {

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("爱好（0代码 1音乐 2电影）")
    private String hobby;

    @ApiModelProperty("页数")
    private Integer pageCurrent = 1;

    @ApiModelProperty("每页数量")
    private Integer pageSize = 5;

}
